
function OnCut(link_index,reason)
	print('OnCut',link_index,reason)
	
	for k,v in pairs(nodes_table) do
		local aa = v[3]
		if aa == link_index then
			nodes_table[k][4] = 0
		end
	end
	
	return 0
end

